package com.six.business.dao;

import com.six.business.vo.BusinessVo;
import com.six.core.entity.Business;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.stereotype.Component;

import java.util.List;

/**
* @author 汪鹏
* @description 针对表【sto_business】的数据库操作Mapper
* @createDate 2023-02-27 14:26:44
* @Entity com.six.core.entity.Business
*/
@Component
public interface BusinessMapper extends BaseMapper<Business> {

    /**
     *@return 查询通过审核的商家信息
     */
    List<Business> findApproval(BusinessVo businessVo);

    List<Business> findUnreviewed(BusinessVo businessVo);
}




